import os
def create_dir(path):
    try:
        os.mkdir(path)
        print('创建成功！')
    # except IOError:
    # Exception 是所有ERROR的基类
    except Exception as e:
        print(e)
        # print("文件夹已存在")
create_dir("day01")

